package com.zhaoxi.project.system.domain;

import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 附件对象 sys_attachment
 *
 * @author yinjinlu
 * @date 2022-07-26
 */
@Data
public class SysAttachment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 附件ID
     */
    private Long attachmentId;

    /**
     * 关联的业务单据ID
     */
    @Excel(name = "关联的业务单据ID")
    private Long sourceDocId;

    /**
     * 业务单据类型
     */
    @Excel(name = "业务单据类型")
    private String sourceDocType;

    /**
     * 访问URL
     */
    @Excel(name = "访问URL")
    private String fileUrl;

    /**
     * 域名
     */
    @Excel(name = "域名")
    private String basePath;

    /**
     * 文件名
     */
    @Excel(name = "文件名")
    private String fileName;

    /**
     * 原来的文件名
     */
    @Excel(name = "原来的文件名")
    private String orignalName;

    /**
     * 文件类型
     */
    @Excel(name = "文件类型")
    private String fileType;

    /**
     * 文件大小
     */
    @Excel(name = "文件大小")
    private BigDecimal fileSize;

    /**
     * 预留字段1
     */
    private String attr1;

    /**
     * 预留字段2
     */
    private String attr2;

    /**
     * 预留字段3
     */
    private Long attr3;

    /**
     * 预留字段4
     */
    private Long attr4;

}
